package lazyPB;

import probabilisticBroadcast.PbDeliver;
import se.sics.kompics.address.Address;

public class RequestMessage extends PbDeliver{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4237131147219191201L;
	private int seqNum;
	private int rounds;
	private Address msgSrc;
	/**
	 * @param src
	 * @param seqNum
	 * @param rounds
	 */
	public RequestMessage(Address src, Address msgSrc, int seqNum, int rounds) {
		super(src);
		this.seqNum = seqNum;
		this.rounds = rounds;
		this.msgSrc = msgSrc;
	}
	
	public int getSeqNum() {
		return seqNum;
	}
	
	public int getRounds() {
		return rounds;
	}

	public Address getMsgSrc() {
		return msgSrc;
	}
}
